class_name = "CStaticVehicle"
object_name = "M1A1 90 mm Gun"
detail_type = "DET_AAA" //list of types is in \inc\SimulationSystem\DetailTypes.inc


//////	PhysicsBody properties
//VisualImage = <int TYPE>,<string File_PathName>,<bool cast_shadows>

VisualImage=0,"graphics/Artillery/M1A1gun-AA/M1A1gun-AA.mgm",true

ImageAttr=24	// IA_NOMINPIXELS | IA_NOMINPIXELS
//	IA_DEFAULT=0,
//	IA_NOCLIP=1,
//	IA_NOCLIP_ANIM=2,
//	IA_NOROTINTERPOLATION=4,
//	IA_NOMINZ=8,
//	IA_NOMINPIXELS=16,
//	IA_NOPOSINTERPOLATION=32,
//	IA_CLOSEVIEWARG=64,
//	IA_ALWAYSVISIBLE=128,
//	IA_SCALEARG=256,
//	ImageAttr=Attr1+Attr2+...+AttrN

CollisionBody="graphics/Artillery/M1A1gun-AA/M1A1gun-AA.col"

ConvexAnimThreshold=0.0005	//  

SoundScript="LuaScripts\Sound\Vehicles\CannonAA_Shot_Med.cfg"

[attach=0]
	position= 0.0, 0.0, 0.0
	object = "LuaScripts/WorldObjects/Vehicles/Turrets/M1A1gun-AATurret.txt"
[end]

[attach=1]
	position= 0.0, 2.3, -0.3
	rotation= 30, 0, 0
	object = "LuaScripts/WorldObjects/FlareGun.txt"
[end]

[attach=2]
	position= 0.0, 2.3, 0.0
	object = "LuaScripts/WorldObjects/Spotter.txt"
[end]

TargetHeight = 1.4			//            

CommandMonitor="LuaScripts/WorldObjects/LandObjectMonitor.txt"

//////	Controled body specific

//Mass = 4500.0				//  ,  CStaticVehicle  default=0
FreezeOnDestroy=true		//   , true -   ,   -    

// Damage model

energyloss="",true,5.0,200		//     , true -       -,       ,        

RegenerationMax = 1.0		//   Life - 
RegenerationMin = 0.5		//   Life,     
RegenerationPercent = 0.0	//  ,  Life  

Firing=0.0				//     ,  Life  
SmokeStartHealth = 0.0		//  ,      
MinFiringHealth = 0.0		//  ,    
MinMovementHealth = 0.0		//  ,    
MinAttackHealth = 0.0		//  ,    

FireEffectTime = 0.0		//       
DestructArg = 281			//  
SmokeArgBase    = 60000		//   
SmokeArgTotalNum = 1		// -  , 1-     60000,   60001,   60002  ..
FiringArg = 60100			//   

ExplosionScript = "LuaScripts/WorldObjects/explosions/Detonation/VehicleAmmunition.txt"

ImpulseToDestroy = 500000		//      ,    .    4   .      .
ImpulseMinimumLevel = 100		//      ,    .         .
ColDamageDelay=0.2				//      (  ,      ,     )

// 
logtreshold=0.0001

[CrewEscape]
	EscapeHealth=0.95f
	EscapeAtLeast=3
	DistanceToRun=50.0f
	EscapePos=-3.0,0,0
	EscapeVisArg=1000
	Bot="LuaScripts\WorldObjects\Bots\BotField_SoldierUSAlateOfcr.txt"
	Bot="LuaScripts\WorldObjects\Bots\BotField_SoldierUSAlate.txt"
	Bot="LuaScripts\WorldObjects\Bots\BotField_SoldierUSAlate.txt"
	Bot="LuaScripts\WorldObjects\Bots\BotField_SoldierUSAlate.txt"
	Bot="LuaScripts\WorldObjects\Bots\BotField_SoldierUSAlate.txt"
[end]

Armor=0					//  ,  ,        

//  .         5000.

[DmgElement = ammo]
	damageablePart="collision_00"
	LifeRate=5000
	LifeRateFrag=5000
	Armor=0
	CollisioDamageSens=1
[End]

DebugInfo = false				//           